Measurements of single top-quark production with the ATLAS detector