Castle Building and National Defence at the Turn of the 9th Century. A Comparative Study of German, French and English Castles