Surviving trees growing near to an active volcano face an uncertain future for several years after an eruption, a study suggests.