Teenagers get life sentence for rape and murder