Absorption spectroscopy tools for in-situ diagnostics of pulsed laser deposition