Foxconn profits rise thanks to popularity of iPhone 6, 6 Plus