Australia off-spinner Hauritz announces retirement