A transient model approach to improve on-farm irrigation and drainage in semi-arid zones.