Thermally deposited lead oxides for thin film photovoltaics