Israel's security services have been ordered to investigate claims of foreign interference in the general election, after Likud alleged outside funding.