Tory MP Caroline Spelman said she will stand down at the next election following months of abuse and death threats over Brexit.