If the points (0,4) and (0,2) are respectively the vertex and focus of the parabola, then find the equation of the parabola.