Measurement of electromagnetic and TEV muon components of extensive air showers by eas-top and MACRO experiments