Gelatin-based nanomaterials