If the angle between the lines joining the end points of minor axis of an ellipse with its foci is π/2, then the eccentricity of the ellipse is

A. 1/2
B. 1/√2
C. √3/2
D. 1/2√2