From genealogies to chronicles : The power of the form in medieval catalan historiography