Mineralogy on Mars points to a cold and icy ancient climate