A man has been banned from football matches for five years and fined £2,000 after being found guilty of lighting a flare in Middlesbrough's Riverside Stadium.