Glycerol-Based Dendrimer Nanocomposite Film as a Tunable pH-Sensor for Food Packaging.