A weighted risk index for antenatal prediction of perinatal outcome