Hong Kong jails democracy activists in landmark trial