Parafermi statistics and p-state models