Northern Ireland's all-time leading goalscorer David Healy has announced his retirement from football.