Cisco to buy AppDynamics for about $3.7 billion