Panorama has spent five months secretly monitoring paedophiles and other violent criminals on their release from prison into bail hostels.