On genericity of shadowing and periodic shadowing property