Reverse transfer of nanostencil patterns using intermediate sacrificial layer and lift-off process