There is a great article here which I thoroughly recommend reading. It goes into this in great detail.
It even includes a twig macro that deals with both retina images as well as responsive images:
https://straightupcraft.com/articles/responsive-images-with-twig-macros