Synthesis of o,o′-dihydroxyazo compounds and their application to the determination of magnesium and calcium by flow injection analysis