Generalized dipole polarizabilities and the spatial structure of hadrons