Synthesis of magnetic and multiferroic materials from polyvinyl alcohol-based gels