Sparse and Hierarchical Transformer for Survival Analysis on Whole Slide Images