Superfluidity and superconductivity in astrophysics