A spinorial Hamiltonian approach to gravity