Paris St Germain have confirmed the signing of Newcastle United midfielder Yohan Cabaye for a fee of around £20m.