New Maldives president is sworn in