A study has found “no evidence” that SNP ministers hiking public sector pay has helped retain staff.