Electronic structure of YMn
2
O
5
studied by EELS and first-principles calculations