Shape and efficiency in spatial distribution networks