Core polarization of the effective two-nucleon interaction for different descriptions of the core