Qatar has welcomed the release of US and Australian university professors who were held in Afghanistan, as well as the release of a number of Afghan detainees.