Weak localization in chaotic electron billiards: The effect of imperfect coupling to the leads