Effect of data gaps on the detectability and parameter estimation of massive black hole binaries with LISA