Smart metamaterials for noise and vibration control