The Rotation Number and the Lyapunov Index for Real Nonautonomous Linear Hamiltonian Systems