Bangladesh, India seal final berths