TOI-2084 b and TOI-4184 b: two new sub-Neptunes around M dwarf stars