Charmed baryon spectrum from lattice QCD near the physical point