On the Fermat—Weber problem with convex cost functions