Iran court upholds 10-year jail sentence of US ‘spy’