A generalized reservoir module for SWAT applications in watersheds regulated by reservoirs