Magnetic composite materials for energy storage applications