Density-matrix refinement for molecular crystals.