Role of the surface states in the magnetotransport properties of ultrathin bismuth films