Novak Djokovic criticised his own performance after he was knocked out of the ATP Masters at Indian Wells by world number 123 Luca Nardi.