Synthesis of TiO2–Ag nanocomposite with sol–gel method and investigation of its antibacterial activity against E. coli