Caterpillar Inc. has posted second-quarter revenue and earnings that beat analysts’ estimates. The Company also raised its full-year profit forecast…