Exploring the association of occupational, environmental and lifestyle factors with spontaneous abortion