Photochemistry and evolution of Mars' atmosphere: A Viking perspective