Quantum Monte Carlo simulation of two-dimensional Emery model