Solution of the problem of uniqueness and hermiticity of hamiltonians for Dirac particles in gravitational fields