The fundamental plane of brightest cluster galaxies and isolated elliptical galaxies