Woman miscarries while photographing friend's birth