An average solvent electrostatic configuration protocol for QM/MM Free Energy Optimization: implementation and application to rhodopsin systems