Insurgents launch pre-dawn attacks on two NATO bases