Thai football coach resigns after crushing World Cup bid