First principles calculations of structural, electronic and optical properties of BAs1−xPx alloy