Police captain punished for refusing to attend Muslim Brotherhood-linked mosque