European exchanges close with major losses