Origin and evolution of the elements