Thai army coup ousts government