Obama attends state dinner with Queen