N-Substituted aldonamides: III. Relationship between chemical structure and the formation of lyotropic mesophases