Internal tide generation in nonuniformly stratified deep oceans