Effect of the template and functional monomer on the textural properties of molecularly imprinted polymers.