PMAS optical integral field spectroscopy of luminous infrared galaxies - II. Spatially resolved stellar populations and excitation conditions,