An embedding theorem for analytic spaces