Symplectic invariants for parabolic orbits and cusp singularities of integrable systems with two degrees of freedom