Microstructure and performance of thin film cadmium telluride solar cells