Height of convective layer in planetary atmospheres with condensable and non-condensable greenhouse substances