smoking and pregnancy

can smoking weed affect the chance of pregnancy and or can it increase chances of miscarriage if early pregnancy