Analytical solutions for J2-perturbed unbounded equatorial orbits