Iran has called the recently freed Australian academic it held for more than two years an "Israeli spy."