American journalist Evan Gershkovich has been jailed for 16 years after being convicted of espionage in a trial widely seen as politically motivated.