Alphabet's 2Q earns soar despite rising 'moonshot' losses