European markets end on a rise