MSP pension fund under fire for investing almost £1m in fossil fuels