California freezes capital spending as deficit grows