how does home environment affect academic performance