Two-dimensional Dirac operators with singular interactions supported on closed curves