Layer-resolved magnetometry of a magnetic bilayer using the magneto-optical Kerr effect with varying angle of incidence