Ground- and light-induced metastable states of sodiumnitroprusside