Adiabatic and nonadiabatic static polarizabilities of H and H 2