Spain marks 40 years since failed coup attempt