Obama 'modestly optimistic' on plan to avert 'fiscal cliff'