Weak homomorphisms of coalgebras