A double-detector method for precise identification of the depth location of light atoms in ERD analysis