q-Extension of the Euler formula and trigonometric functions