A solid-state near infrared spectrum analyzer based on polycrystalline Ge on Si