Investigation of light absorption and emission in Ge and GeSn films grown on Si substrates