Environmental and chemical controls on palagonitization