Police have condemned "reckless" behaviour that saw petrol bombs thrown at officers in Derry overnight.