Chain shifts in Syntax: On the replacement of th- with wh-elements in Middle English