Energy secretary guardedly optimistic about gas prices