(R)-mevalonate:NADP oxidoreductase (CoA-acylating)