Curiosity rover uncovers layered rock formations on Mars