Helicity of Solar Active-Region Magnetic Fields