Energy-efficient reliability-aware offloading for delay-sensitive tasks in collaborative edge computing