Nonadiabatic coupling of the dynamical structure to the superconductivity in YSr2Cu2.75Mo0.25O7.54 and Sr2CuO3.3