Detecting population structure and recent demographic history in endangered livestock breeds: the case of the Italian autochthonous donkeys