Text this: New three-dimensional flat band candidate materials Pb2As2O7 and Pb2Sn2O7