Multi-parameter photon-by-photon hidden Markov modeling