Full-color mechanical sensor based on elastic nanocomposite hydrogels encapsulated three-dimensional colloidal arrays