Gold nanodot-based luminescent sensor for the detection of hydrogen peroxide and glucose.