Arsenic in the Evolution of Earth and Extraterrestrial Ecosystems