R toolkit for inference, visualization and analysis of cell-cell communication from single-cell and spatially resolved transcriptomics