Analytical derivatives for molecular solutes. III. Hartree-Fock static polarizability and hyperpolarizabilities in the polarizable continuum model.