Structure of the chromosphere-corona transition region