emperor frederick i and charlemagne relationship