Tehran has accused Washington of violating the ceasefire agreement after American forces attacked Iran overnight.