The influence of microporosity creation in highly mesoporous N-containing carbons obtained from chitosan on their catalytic and electrochemical properties