Photoproduction of the Lambda(1405) on the proton and nuclei