Five people are dead and one person is in serious condition after a plane crashed near the capital of Costa Rica.