causes of failure to gain weight in infants