Enhanced antimicrobial and anticancer properties of ZnO and TiO2 nanocomposites