Which two classes of people would historians most likely thank for leaving written records of early civilization?