Synopsys buying Ansys in $35 billion deal, creating automation and engineering software giant