Potatoes aren’t always bad for you — it’s all in the preparation, new study indicates