Effect of chain stiffness on the structure of single-chain polymer nanoparticles