An analysis of the geodesy and relativity experiments of BepiColombo