Magnetospheres of the planets