BMW agrees to pay $3 million fine to U.S. auto safety regulators