West Ham have completed the loan signings of Italy internationals Antonio Nocerino and Marco Borriello.