Greedy localized routing for maximizing probability of delivery in wireless ad hoc networks with a realistic physical layer