The former Northwick Manor Primary School teacher sobbed as he was jailed for having sexual conversations with underage girls.