Virtual machine migration policy for multi-tier application in cloud computing based on Q-learning algorithm