Cop, police chief resign two days after black motorist's death