Foxconn's Hon Hai earns record annual profit