Allegri optimistic of derby victory