Monopole production in the very early universe in a first-order phase transition