Stress-wave detection of an edge crack in an elastic rod