A game-theoretic approach to computation offloading in mobile cloud computing