Homogenization of Semilinear Elliptic and Parabolic Operators in Perforated Domains