Solution-based low cost photovoltaics