Learning an MR acquisition-invariant representation using Siamese neural networks