Arbitrary high order A-stable and B-convergent numerical methods for ODEs via deferred correction