Brownian motion of an ellipsoidal particle in confined geometries