Static and dynamic mode instabilities in dual-core fiber amplifiers