France to answer ratings downgrade with reforms