Electrical charge transport and optical properties of a poly(methacrylate) with a new side chain and its Ni(II) complex