Coupled-Perturbed Hartree-Fock calculation of the static polarizability for periodic systems: implementation in the CRYSTAL code