TiO2 nanocomposite for the controlled release of drugs against pathogens causing wound infections