Balance of mechanical and electrical performance in polyimide/nano titanium dioxide prepared by an in-sol method