Liquid density of pure alkanes and halogenated alkanes in a corresponding states format