Chemical modification of stem bromelain with anhydride groups to enhance its stability and catalytic activity