Water and water ions in the Martian thermosphere/ionosphere