Transforms this value with transform function and wraps result in Some if this value is not null or returns None otherwise.