Preparation of MnO2/porous carbon material with core–shell structure and its application in supercapacitor