Efficient calculation of the polarizability: a simplified effective-energy technique