Photographic photometry of galaxies using the INMP. I - The lenticulars NGC404 and NGC524