High-density gas associated with 'molecular jets' - NGC 1333 and NGC 2071