Substrate engineering for high efficiency thin film solar cells