pp-waves with torsion and metric-affine gravity