Spanish prime minister moderately optimistic about economic recovery