Why were kings in the late thirteenth and early fourteenth centuries able to control the church more than the church could control the kings? How did the kings attack the church during this period?