Set `created_at` and `updated_at` values when creating and saving models.