On simple $Z_2$-invariant and corner function germs