Preparation of hollow mesoporous carbon spheres and their performances for electrochemical applications