Amherst police officer involved in a crash