Changed coord_dims to accept a coord name as well as a coord

Minor change so that iris.cube.Cube.coord_dims() can accept a coordinate object, or a coord name string, like most of (all?) the other coordinate accepting functions.