Optimal monotone forwarding policies in delay tolerant mobile ad hoc networks with multiple classes of nodes