Development of a biomimetic sensor through molecular imprinting