Investigation of nanostructured metal oxides for antimicrobial activities and gas sensor applications