Two identical square tiles are to be painted, with each of their four sides being colored independently and at random to be either green or yellow. What is the probability that after they are painted, the tiles can be rotated (but not flipped) to be identical in appearance?