The photospheric solar oxygen project. I. Abundance analysis of atomic lines and influence of atmosp