Indonesian authorities have arrested six suspected militants on Batam island believed to be linked to the Islamic State group and plotting an attack on neighbouring Singapore.