Generalizations of the virial relations for the Dirac equation in a central field and their applications to the Coulomb field