The histone variant composition of centromeres is controlled by the pericentric heterochromatin state during the cell cycle