Gain induced optical transparency in metamaterials