Facebook takes on Google and Yahoo in email and instant messaging