Photoproduction of strangeness in nuclei