Hard X-ray polarimetry of solar flares with BATSE