A Novel Geographic Forwarding Algorithm with Void Broadcast Scheme in Ad hoc and Sensor Networks