Trial begins in killing of LI cop, Brooklyn man