Explicit solutions of classical generalized toda models