Nonsolar astronomy with the Reuven Ramaty High Energy Solar Spectroscopic Imager (RHESSI)