Density-potential mappings in quantum dynamics