Polar and magnetoelectric multipoles in gallium ferrate inferred from optical and x-ray measurements