President attends memorial ceremony at Fort Hood