Developing terahertz time domain spectroscopy for the diagnosis of skin conditions