Mechanism of 1,4,5,8-naphthalene tetracarboxylic acid dianhydride hydrolysis and formation in aqueous solution.