Comparison of NiOx thin film deposited by spin-coating or thermal evaporation for application as a hole transport layer of perovskite solar cells