European option pricing under the rough Heston model using the COS method