Thai military court opens trial in Bangkok shrine blast