What were some of the key factors that led to the decline of the Portuguese empire in India?