Can neutrinos pass through neutron stars and black holes?