Facile preparation of organic-inorganic hydrogels containing silver or essential oil with antimicrobial effects