THE HERSCHEL EXPLOITATION OF LOCAL GALAXY ANDROMEDA (HELGA). II. DUST AND GAS IN ANDROMEDA