The photometric functions of Phobos and Deimos. I - Disc-integrated photometry