Preparation and application of chitosan-based fluorescent probes.