Small- and large-scale global shape features in macromolecular backbones