Accurately Quantifying Stress during Metal Halide Perovskite Thin Film Formation.