The effect of chain stiffness on the phase behaviour of isolated homopolymers