The Structure of the Young Star Cluster NGC 6231. I. Stellar Population