Effective boron doping in three-dimensional nitrogen-containing carbon foam with mesoporous structure for enhanced all-solid-state supercapacitor performance