Father on trial for allegedly killing baby