Lugar de publicación A Geometric View on the Symmetries of Differential Equations 2018 Algebraic Solutions in Scalar Field Cosmology: Reconstruction of the Dark-Energy Equation of State and the Inflationary Potential 2018