Algebraic renormalization of N=1 supersymmetric gauge theories