Estimating the dynamics of carbon stocks in forests with remote sensing data