Productivity and environmental regulation: the effect of the nitrates directive in the French pig sector