Private equity firm STG to buy Avid Technology for $1.4 bln