Scientists have discovered that Antarctica once had rainforests that were likely occupied by dinosaurs.