Elliptic annular Josephson tunnel junctions in an external magnetic field: The statics