Performance of Dynamic-Frame-Aloha protocols: Closing the gap with tree protocols