Photos from NASA’s Curiosity rover suggest Mars had more water for longer than previously thought