Public schools can display crucifix when decided democratically, court rules