Dilatational oscillations of closed-shell nuclei