how did oedipus defeat the sphinx