Integral characteristics of elastic inclusions and cavities in the two-dimensional theory of elasticity