Molecularly imprinted polymer membranes and thin films for the separation and sensing of biomacromolecules.