Gauge noninvariance and parity nonconservation of three-dimensional fermions