Determinants of the assignment of EU funds to Portuguese municipalities