Modeling and forecasting solar energetic particle events at Mars: the event on 6 March 1989