Apple supplier Foxconn posts 18.3 percent rise in third-quarter profit, lagging estimates