Capacity analysis for pulse amplitude modulated visible light communications with dimming control