Tailoring pseudocapacitive materials from a mechanistic perspective