One of the officers was hit in the foot and the other was struck in the thigh