Influence of exogenous and endogenous ions on the properties of BSA