Vortex Density Models for Superconductivity and Superfluidity