Calculation of ion scattering yields from simulated crystal surfaces: theory and application to melting and non-melting Al surfaces