Cisco shares rise on better-than-expected revenue and earnings