THEORIES WITH EXTRA DIMENSIONS AT FINITE TEMPERATURE