Technology giants struggle to maintain credibility over NSA Prism surveillance