Democracy, autocracy and the news: the impact of regime type on media freedom