European stock markets end Tuesday with gains