Towards practical quantum computers: transmon qubit with a lifetime approaching 0.5 milliseconds