Thai man jailed for 30 years for insulting monarchy