In vitro and in vivo analysis of pulsatile biodegradation of mucoadhesive hydrogels