The Prime Minister and Foreign Secretary have been criticised for their handling of the Afghanistan evacuation.