How are matter classified as organic matter and inorganic matter?