Generative Inverse Design of Metamaterials with Functional Responses by Interpretable Learning