Rocket attacks on U.S. targets in Baghdad kill 3 American soldiers, wound 31