Bear which roamed about in temple for several days, captured in southern India