Iran vaunts military, taunts U.S. as revolution turns 40