Multinary metal chalcogenides with tetrahedral structures for second-order nonlinear optical, photocatalytic, and photovoltaic applications