Vapor-phase catalytic dehydration of terminal diols