Software was a bright spot as hardware and services revenue declined in the second quarter