Ion distributions in the vicinity of Mars: Signatures of heating and acceleration processes