Biodegradable biopolymer nanocomposite that detects relative humidity can monitor packed food freshness