Title: On the spectral theorems of unitary and selfadjoint transformations