Indonesia's economy contracts for the first time since 1999 in second quarter