Do AI assistants help students write formal specifications? A study with ChatGPT and the B-Method