The energy balance in the coastal environment of James Bay and Hudson Bay during the growing season