Detection of long-lived staus and gravitinos at the ILC