An Economic Analysis of the Sharing Economy