Analysis of 'blinking' or 'hopping' single molecule signals with a limited number of transitions