Wetting transition in nanochannels for biomimetic free-blocking on-demand drug transport.