state the law of resistance in series and parallel