Exact Solutions for Elastoplastic Stress Distribution in Functionally Graded Curved Beams Subjected to Pure Bending