On a relation between surface tension and density