Nitrogen and sulfur-codoped porous carbon derived from a BSA/ionic liquid polymer complex: multifunctional electrode materials for water splitting and supercapacitors