US police officer fired for pepper-spraying black soldier