Synthesis and electrorheological effect of PAn–BaTiO3 nanocomposite