Milky Way scattering properties and intrinsic sizes of active galactic nuclei cores probed by very long baseline interferometry surveys of compact extragalactic radio sources