Turbulence and wind velocity profiles from adaptive optics telemetry: a general and scalable solution for extremely large telescopes