Foreign governments, rights groups criticize Hong Kong’s sentencing of 45 pro-democracy activists