What are the two properties of carbon which lead to the formation of a large number of carbon compounds?