Analysis of the bark of scots pine as a method of studying environmental changes