Large Language Models Based Automatic Synthesis of Software Specifications