US President Donald Trump signed an executive order imposing sanctions on the International Criminal Court (ICC) in response to its investigations into Israel, a key US ally.