Controlling the preferential orientation in sol-gel prepared CaCu3Ti4O12 thin films by LaAlO3 and NdGaO3 substrates