Trial begins for man accused of killing SDPD officer