Six ways for companies to dismiss employees