Added a `sampling_interval` argument to `Population.record()`