European exchanges close with losses