Ultrafast spectroscopy of plant-inspired UV filters for sunscreen and photothermal applications