Kinetics of mutual isomerization of trioses and their dehydration to methylglyoxal