Man pleads guilty to carjacking