What are the unique characteristics of carbon, which give it the ability to form a vast array of chemical substances?