Latency-aware resource orchestration in SDN-based packet over optical flexi-grid transport networks