Separation of foregrounds from cosmic microwave background observations with the MAP satellite