Synthesis, structure and optical properties of new organic–inorganic haloplumbates complexes (C5H10N3)PbX4 (X=Br, Cl), (C2H2N4)PbBr3