Three Hong Kong activists have been convicted after they refused to provide information to authorities required by national security policy.