Correlation between the solar activity cycles and the Earth rotation