Vortex detection in atomic Bose–Einstein condensates using neural networks trained on synthetic images