Magnetic transitions in botallackite-structure Cu2(OH)3Br and Cu2(OH)3I