what material is earth and mars made of ?