Role of surface functionalization in ZnO:Fe nanostructures