TPGF: Geographic Routing in Wireless Multimedia Sensor Networks