European stock markets end week with losses