Electromagnetic interactions of cosmic-ray muons up to 10 TeV (pair productions and bremsstrahlung)