Swelling-induced finite bending of functionally graded pH-responsive hydrogels: a semi-analytical method