Text this: Surface plasmon resonance sensor based on polypyrrole–chitosan–BaFe2O4 nanocomposite layer to detect the sugar