Imaging velocity and attenuation scatterers with wave equation migration