On the response of cold-formed steel sections under compression