Estimating the effects on the dose distribution through the Bragg Peak degradation of lung tissue in proton therapy of thoracic tumors