Metal ion mediated synthesis of molecularly imprinted polymers targeting tetracyclines in aqueous samples.