Status and prospects of top-quark physics