Resistivity and T c in disordered superconductors