Far-infrared and dust properties of present-day galaxies in the EAGLE simulations