Randomly perturbed multipartite graphs