Identification of an open crack in a beam with variable profile by two resonant frequencies