Non-dye cell viability monitoring by using pH-responsive inverse opal hydrogels.