Electrical and optical properties of chalcogenide amorphous semiconductors modified with Ni