First-principles calculations of the structural, electronic, optical and thermal properties of the BNxAs1–x alloys