Newcastle agree £30m fee with Lyon to sign Guimaraes