Nanocomposites: suitable alternatives as antimicrobial agents