What are the three main branches of the Philippine government how do their functions differ from each other?