Stein's unbiased risk estimate and Hyv\"arinen's score matching