Preparation of porous Co-Pt alloys for catalytic synthesis of carbon nanofibers