A scanning code consists of a $5\times5$ grid of squares, each black or white, with at least one square of each color. It is symmetric if it is unchanged by rotations by multiples of $90^\circ$ and by reflections across the diagonals and the midlines. How many symmetric scanning codes are there?