Heterogeneous shear elasticity of glasses: the origin of the boson peak