Obama extols health care law amid public doubts