Thin film photovoltaic device with multilayer substrate