Cowboys crush Rams 31-7