Resolution of molecular polarizability into atomic terms