Potentiaal, elektrische weerstand