Direct band gap nature and optical response of BexMgyZn1−(x+y)Se