Transient and photon-gated persistent spectral holeburning in CaSO4:Sm