Generation of double pulses at the Shanghai soft X-ray free electron laser facility