Development and optical performance tests of the Si immersed grating demonstrator for E-ELT METIS