Towards a Thermostatistics of the Evolution of Protein Domains Through the Formation of Families and Clans