Slumping Cardinals dismiss manager Mike Matheny