Nanomaterials for controlled metal release and process for their production