Lectures on Hamiltonian systems . Rigorous and formal stability of orbits about an oblate planet