Electronic and optical properties of black phosphorus doped with Au, Sn and I atoms