Analytic geometrical derivatives of second-order molecular properties from perturbation theory