Dimensions of a Flexible Polymer Chain in the Bulk and in Solution