Putin signs law allowing Russian legislation to trump international treaties