Scientists have a new way to find oceans — and possible alien life — on distant planets