US veteran senator calls Obama ‘stupid’ on Twitter