India warned Sri Lanka of threat two hours before attacks