Three sentenced to life imprisonment in POCSO case