Structural defects and electronic properties of the Cu-doped topological insulator Bi2Se3