Mars may have been flooded by water: study