Shapes of single bubbles in infinite stagnant liquids contaminated with surfactant