Characterization of the elasticity and anelasticity of bulk glasses by dynamical subresonant and resonant techniques