Replica symmetry breaking in and around six dimensions