Latency and Reliability Aware Edge Computation Offloading in 5G Networks