Properties of stream interaction regions at Earth and Mars during the declining phase of SC 24