Histological insights into trait acquisition in non-mammalian synapsids