Foxconn's Net Profit Declines in Q2