Thymic microenvironments for T cell repertoire formation