Dairy firm sentenced over explosion at Allerdale factory