Long-term variations of the coronal rotation and solar activity