Analytical expressions for the homotropic binding of ligand to protein dimers and trimers.