Estimating discount factors for public and private goods and testing competing discounting hypotheses