Hard x-ray polarimetry with the Ramaty high energy solar spectroscopic imager (RHESSI)