European stock exchanges close with losses