On p-harmonic maps and convex functions