First-principles computations of $$\hbox {Y}_{x}\hbox {Ga}_{1-{x}}$$As-ternary alloys: a study on structural, electronic, optical and elastic properties