Text this: Formation and coalescence of nanobubbles under controlled gas concentration and species