Memory element, method for structuring a surface, and storage device