Controlled synthesis of the antiperovskite oxide superconductor Sr3−xSnO