NASA's Hubble Space Telescope has detected water in the atmospheres of five planets beyond our solar system, two recent studies report.