POLDER: a tensor polarimeter for intermediate energy deuterons