Limit loads for layered structures using extended variational principles and repeated elastic finite element analysis