Optical properties of cometary particles collected by the COSIMA mass spectrometer on-board Rosetta during the rendezvous phase around comet 67P/Churyumov–Gerasimenko