Contrasting effects of doping on insulating and metallic states of NdNi1−xMnxO3 thin films