Probing material absorption and optical nonlinearity of integrated photonic materials