Covariant Hamiltonian formalism for F(R)-gravity