Having babies less than a year apart 'poses risks for mother and child'