Impact cratering through geologic time