The Birmingham–CfA cluster scaling project – II. Mass composition and distribution