pH-responsive CAP-co-poly(methacrylic acid)-based hydrogel as an efficient platform for controlled gastrointestinal delivery: fabrication, characterization, in vitro and in vivo toxicity evaluation