Learning image registration without images