Characteristics of unsteady flow to wells in unconfined and semi-confined aquifers