Extending the essential dynamics analysis to investigate molecular properties: application to the redox potential of proteins