Treatment planning for electroporation-based therapies