Series enumeration study of the rod-to-coil transition of linear polymer chains