Transition metal dichalcogenides for next-generation photovoltaics