Social and health care determinants of area variations in perinatal mortality