A novel bit and power loading algorithm for narrowband indoor powerline communications