Novelist Given 3 Years for Insulting Thai King