Physical properties of asteroid targets of the Rosetta space mission, and of minor bodies of the outer Solar System