Former prime minister Gordon Brown has declared his opposition to legalising assisted dying, which will soon be debated by MPs.