law of internal resistance