Amino acid diversity of immunoglobulins as a product of molecular evolution