Casimir effect for a perfectly conducting wedge in terms of the local zeta function