First-principles calculations of the structural, electronic and optical properties of In1−xBxAsyP1−y quaternary alloys lattice matched to InP and BeS