Origin-Independent Densities of Static and Dynamic Molecular Polarizabilities