An extended trapezoidal formula for the diffusion equation in two space dimensions