Homomorphic Encryption Over Cyclic Groups Implies Chosen-Ciphertext Security