A molecularly imprinted antibiotic receptor on magnetic nanotubes for the detection and removal of environmental oxytetracycline.