Hull City have completed the signing of former Newcastle United goalkeeper Steve Harper on a one-year contract.