When should surface imaging or through-sample imaging be used to characterize a specimen at the nanoscale?