Synthesis and magnetoelectric properties of Co-Pt based porous materials