It is unlawful for any person to willfully perform a lewd act, as hereinafter defined, in a public place or at a place and under circumstances where such act may be observed by any member of the public when such act, or the simulation thereof, is done for the purpose of obtaining or giving of sexual gratification or stimulation.