Editor jailed for one year over Prophet cartoons