Optimal experimental design for the detection of light atoms from high-resolution scanning transmission electron microscopy images