Thai lawmaker sentenced to six years for insulting monarchy