Hong Kong court jails 45 democracy campaigners, drawing condemnation