Quasi-one-dimensional approximation for Bose–Einstein condensates transversely trapped by a funnel potential