Implementation of analytical Hartree-Fock gradients for periodic systems