Calculation of chromophore excited state energy shifts in response to molecular dynamics of pigment–protein complexes