Lean-STaR: Learning to Interleave Thinking and Proving