Density of condensates of two-component Bose-Einstein condensates restricted between two planar walls