Synthesis of molecularly imprinted polymers based on boronate affinity for diol-containing macrolide antibiotics with hydrophobicity-balanced and pH-responsive cavities.