Got an old computer or smartphone you want to give away or get rid of? Here are tips on how to make sure no sensitive data is left on it