The intermediate state in thin lead and tin specimens