Pošljite SMS: Transverse beam size and emittance diagnostics using transition and diffraction radiation