Non-invasive measurement of haemoglobin based on dynamic spectrum method