Complementarity of gymnosperms and angiosperms along an altitudinal temperature gradient