A solar flare X-ray polarimeter for the space shuttle