A multiscale and Trefftz computational method for medium-frequency vibrations of assemblies of heterogeneous plates