Sun Microsystems cuts 6,000 jobs