Probing the electrochemical behaviour of SWCNT–cobalt nanoparticles and their electrocatalytic activities towards the detection of nitrite at acidic and physiological pH conditions