Oriented cobalt-ferrite nanoparticles in flexible polymer film for sustainable energy harvesting and water remediation applications