European exchanges finish week with gains