Self-supporting straw tube detectors for the COSY-TOF and PANDA experiments