Closing arguments begin in trial of former SJC sheriff's dep