Core polarization and the effective interaction between nucleons in a nucleus