On the electrical resistivity of spin glasses