Transfer of Cu(In,Ga)Se2 thin film solar cells to flexible substrates using an in situ process control