Template Route to Chemically Engineering Cavities at Nanoscale: A Case Study of Zn(OH)2 Template