Divided Thailand votes but opposition threatens poll disruption