Calculation of static zero-point vibrational averaging corrections and other vibrational curvature contributions to polarizabilities and hyperpolarizabilities using field-induced coordinates