Residually nilpotent groups whose closed subgroups are subnormal