Structural and dynamical properties of superfluid helium: A density-functional approach