Engineering Gyroid-Structured Functional Materials via Templates Discovered in Nature and in the Lab.