Global warming may ‘flatten’ rainforests