Paraunitary matrices and group rings