Computational optimization and characterization of molecularly imprinted polymers