Cell segmentation-free inference of cell types from in situ transcriptomics data