Melandri takes double win in thrilling superbike opener