Molecular-orbital x rays