JD.com beats second-quarter sales estimates