Introduction to spectral geometry