Single image dehazing using generative adversarial networks based on an attention mechanism