Ensemble models of proteins and protein domains based on distance distribution restraints