Facile preparation of porous Cu, Ni, and Cu–Ni alloy as electrodes for supercapacitor application