Thai lawmaker sentenced to six years in prison for defaming monarchy