The generational basis of historical knowledge