Frequency dependence of the relaxor-to-ferroelectric transition under applied electrical and mechanical fields