Induced Pairing Interaction in Nuclei and in Neutron Stars