The growth of massive black holes in galaxy merger simulations with feedback by radiation pressure