President accuses ICC of ‘illegitimate and baseless actions targeting America and our close ally Israel’