On a two-component Bose–Einstein condensate with steep potential wells