Measuring molecular motions inside single cells with improved analysis of single-particle trajectories