Mode width fitting with a simple Bayesian approach - Application to CoRoT targets HD 181420 and HD 49933