Rational design of mesoporous metals and related nanomaterials by a soft-template approach.