CosmoBolognaLib: C++ libraries for cosmological calculations