Ian Paisley to quit party, top post in Northern Ireland