Hierarchical and conforming Nédélec elements for surface and volumetric cells