Signed (total) domination numbers and Laplacian spectrum of graphs