Crystal structure design and multiband physical properties of quaternary sulfide Ba5Bi2Co2S10 for optoelectronic conversion.