Proteins with antifungal properties and other medicinal applications from plants and mushrooms