Poetry sex and salvation the ‘courtesan’ and the noblewoman in medieval Japanese narratives