Photoproduction of Λ and Σ0 hyperons using linearly polarized photons