Sunlight-driven photochromic hydrogel based on silver bromide with antibacterial property and non-cytotoxicity