High-temperature and pressure Raman spectroscopy of diamond