European markets close higher, extending gains