The Moore-Penrose inverses of singular M-matrices