Chemical sensing of polyols with shapeshifting boronic acids as a self-contained sensor array.