Integrable aspects of the scaling q-state Potts models II: finite-size effects