Inverse boundary value problems for a class of semilinear elliptic equations