The luminosity distributions of edge-on spiral galaxies - I. A two-dimensional model and its application to NGC 891 and 4565 | Synapse