Polarization corrections to core levels