Structural and electronic properties of MgO nanotube clusters