The president of Afghanistan has taken to Facebook to defend his decision to leave the country ahead of the Taliban advance, writing "I made a tremendously difficult decision. I left to prevent further bloodshed."