Muon energy estimate through multiple scattering with the MACRO detector