Design Of Cross-Layer Mac And Routing Protocols For Autonomous Uav Networks