EncryIP: A Practical Encryption-Based Framework for Model Intellectual Property Protection