p-invex functions and (F-p)convex functions: properties and equivalences