What is the relationship between density and molecular weight of a substance?