Conductive electrodes based on Ni–graphite core–shell nanoparticles for heterojunction solar cells