Unintentional learning of sequential structure