Official: Suspect says Iraq, Afghanistan drove Boston bombings