On error estimation of finite element approximations to the elliptic equations in nonconvex polygonal domains