Tidal dissipation in the lunar magma ocean and its effect on the early evolution of the Earth–Moon system