Design and synthesis of ternary-component layered double hydroxides for high-performance supercapacitors: understanding the role of trivalent metal ions