The thermal denaturation of the peyrard-bishop model with an external potential