Paedophile snared by vigilantes attacked two girls hours after being released from jail