Flow and transport from a stream to a well in an unconfined aquifer