Integration of scheduling and network coding in multi-rate wireless mesh networks: Optimization models and algorithms