Sediment instability affects the rate and location of primary production and respiration in a sand-bed stream