Bismuth and antimony-based oxyhalides and chalcohalides as potential optoelectronic materials