Gen. McChrystal criticizes President Obama