Beilein gets first win with Cavs, Thompson scores 25