Bernanke warns dangers of raising rates too early