A general synthetic strategy for converting metal−organic frameworks to hydroxides as advanced electrodes for supercapacitors by magnetic field assistance