The structures and electronic properties of Lan and LanO (n = 2–12) clusters