Chitosan–gold nanoparticles as peroxidase mimic and their application in glucose detection in serum