Electrochemical synthesis of ceramic materials. 2. Synthesis of aluminum nitride (AlN) and an AlN polymer precursor: chemistry and materials characterization