On the electrical double-layer capacitance of mesoporous templated carbons