ISO-SWS spectroscopy of dust in the diffuse interstellar medium toward Cygnus OB2 no.12