Verifying Global Neural Network Specifications using Hyperproperties