Second teen sentenced in attack on Australian researcher