Protecting the Intellectual Property of Deep Neural Networks with Watermarking: The Frequency Domain Approach