NASA rover snaps photos of ancient 'waves' carved into Mars mountainside