Bioinspired aligned magnetic features in aerogels for humidity sensing