The Dieu d'Amour castle in Cyprus, from Byzantine settlement to Frankish palace