Possible effects of secular resonances in Phobos and Triton