Diffusive Gradients in Thin-Films for Environmental Measurements