Singular value decomposition in an inverse source problem