German factory orders beat forecasts with 1.9% May gain