Optimization of thermal processing and device design for high-efficiency c-Si solar cells