Infections may raise the risk of mental illness in children