Bernanke: Fed will 'act as needed' to help