Gravar-mail: Two-stage optimal designs based on exact variance for a single-arm trial with survival endpoints