Prosodic structure and syntactic acquisition: the case of the head-direction parameter