Journalist jailed for seven years for writing about religion